<template>
  <div id="app">
    <el-container>
      <el-header class="header">
        <vheader />
      </el-header>
      <el-container>
        <el-aside width="200px">
          <navmenu></navmenu>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
import NavMenu from '@/components/NavMenu'
import Header from '@/components/Header'

export default {
  name: 'app',
  components: {
    'navmenu': NavMenu,
    'vheader': Header
  }
}
</script>

<style>
*{
    padding: 0;
    margin: 0;
}
.header {
  background-color: #595959;
  color: #fff;
  line-height: 60px;
}
.el-aside {
  display: block;
  position: relative;
  overflow-y: scroll;
  background-color: #324157 !important;
}
.el-aside::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}
</style>
